package com.devilvan.betrice.bilibili.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Evad.Wu
 * @Description Bilibili-评论/回复信息表 值对象
 * @date 2022-12-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "Bilibili-评论/回复信息表 值对象")
public class BilibiliReviewVo {
    @Schema(description = "AV号")
    @JSONField(alternateNames = {"oid"})
    private Long aid;
    @Schema(description = "评论ID")
    @JSONField(alternateNames = {"rpid"})
    private Long rpid;
    @Schema(description = "评论时间")
    @JSONField(alternateNames = {"ctime"})
    private Long ctime;
    @Schema(description = "评论用户信息")
    @JSONField(alternateNames = "member")
    private BilibiliMemberVo bilibiliMemberVo;
    @Schema(description = "评论内容信息")
    @JSONField(alternateNames = {"content"})
    private BilibiliReviewContentVo bilibiliReviewContentVo;
    @Schema(description = "点赞数")
    @JSONField(alternateNames = {"like"})
    private Integer likes;
    @Schema(description = "根评论的ID 0-根评论 其他-根评论的ID")
    @JSONField(alternateNames = {"root"})
    private Long root;
    @Schema(description = "回复的评论ID 0-根评论 其他-被回复的评论ID")
    @JSONField(alternateNames = {"parent"})
    private Long parent;
    @Schema(description = "IP属地信息")
    @JSONField(alternateNames = {"reply_control"})
    private BilibiliReviewLocationVo bilibiliReviewLocationVo;

}
